package com.basic;

public class Dog {
	private String name;
	private int age;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
	public Dog() {
		
	}
	public Dog(String name, int age) {
		super();
		this.name = name;
		this.age = age;
	}

	public void doCallOut() {
		System.out.println("dog name :" + name + ",age is:" + age);
	}
	public void doCallOut(int i) {
		System.out.println(i);
		System.out.println("dog name :" + name + ",age is:" + age);
	}
}
